<div class="layui-form" lay-filter="layui-form-add-user-page" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">角色名</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
            <input type="text" name="name" value="{{ d.params.name || '' }}" lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
          </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
          <input type="text" name="orderNo" value="{{ d.params.orderNo || '' }}"  placeholder="请输入" autocomplete="off" class="layui-input">
        </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-user-add-submit" value="确认" class="layui-btn">
        </div>
    </div>
    <div class="layui-form-item">
        <script type="text/html" template>
        <input type="hidden" name="id" value="{{ d.params.id || '' }}" lay-filter="id">
        <input type="hidden" name="deleteFlag" lay-filter="deleteFlag" value={{d.params.deleteFlag || false }}>
    </script>
    </div>

</div>

<script>
    layui.use(['admin', 'form'], function () {
        var $ = layui.$
            , form = layui.form;

    });
</script>